<!DOCTYPE HTML>
<html>
<head>
    <title>安置帮教服刑信息信息--查看页面</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="/webjars/miniui/boot.js" type="text/javascript"></script>
    <link href="/static/css/resource.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/default.css" rel="stylesheet" type="text/css" />
    <script src="/static/js/common/common.js" type="text/javascript"></script>
</head>
<body>
<div class="mini-fit">
    <form id="form1" method="post">
        <input id="idval" name="idval" class="mini-hidden" style="width: 100%;"/>
        <!-- 用户 编辑框START-->
        <div id="editform" class="form" style="padding:10px;">
            <h1>基本信息</h1>
            <table class="form-table" align="center" width="100%">
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">姓名:</td>
                    <td align="left" width="30%">
                        ${pName!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">证件号:</td>
                    <td align="left" width="30%">
                        ${idNum!'无'}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">性别:</td>
                    <td align="left" width="30%">
                        ${sex!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">出生日期:</td>
                    <td align="left" width="30%">
                        ${age!'不详'}
                    </td>
                </tr>
                <#if paddr?? && paddr == "01">
                    <#if hjType?? && hjType == "02">
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                查不清户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">原侦查机关地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${yzcjg!''}
                            </td>
                        </tr>
                    <#else >
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                农村户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${hjdz!''}
                            </td>
                        </tr>

                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">居住地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${juzhudi!''}
                            </td>
                        </tr>
                    </#if>
                </#if>
                <#if paddr?? && paddr == "02">
                    <#if hjType?? && hjType == "02">
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                查不清户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">原侦查机关地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${yzcjg!''}
                            </td>
                        </tr>
                    <#else >
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                城镇户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${hjdz!''}
                            </td>
                        </tr>

                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">居住地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${juzhudi!''}
                            </td>
                        </tr>
                    </#if>
                </#if>
                <#if paddr?? && paddr == "03">
                    <#if hjType?? && hjType == "02">
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                查不清户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">原侦查机关地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${yzcjg!''}
                            </td>
                        </tr>
                    <#else >
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                户籍为监所
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">监所地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${hjdz!''}
                            </td>
                        </tr>
                    </#if>
                </#if>
                <#if paddr?? && paddr == "04">
                    <#if hjType?? && hjType == "02">
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                查不清户籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">原侦查机关地址:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                ${yzcjg!''}
                            </td>
                        </tr>
                    <#else >
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">户籍类型:</td>
                            <td align="left" width="80%" colspan="3" style=" line-height:30px;">
                                非大陆籍
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">逮捕地址:</td>
                            <td align="dbjg" width="80%" colspan="3" style=" line-height:30px;">
                                ${dbjg!''}
                            </td>
                        </tr>
                    </#if>
                </#if>
            </table>
            <h1>单位流转</h1>
            <table class="form-table" align="center" width="100%">
                <tr>
                    <td align="right" width="20%" style=" color: black;line-height:30px;font-size: 17px"><b>发起方</b></td>
                    <td align="left" width="30%">
                    </td>
                    <td align="right" width="20%" style=" color: black;line-height:30px;font-size: 17px"><b>审核方</b></td>
                    <td align="left" width="30%">
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">发起人员:</td>
                    <td align="left" width="30%">
                        ${qclxr!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">审核人员:</td>
                    <td align="left" width="30%">
                        ${qrdlxr!''}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">联系手机:</td>
                    <td align="left" width="30%">
                        ${qclxdh!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">联系手机:</td>
                    <td align="left" width="30%">
                        ${qrlxdh!''}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">联系固话:</td>
                    <td align="left" width="30%">
                        ${qclxgh!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">联系固话:</td>
                    <td align="left" width="30%">
                        ${qrlxgh!''}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">发起时间:</td>
                    <td align="left" width="30%">
                        ${moveOutTime!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">审核时间:</td>
                    <td align="left" width="30%">
                        ${moveInTime!''}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">迁移备注:</td>
                    <td align="left" width="30%">
                        ${remark!''}
                    </td>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">迁入地备注:</td>
                    <td align="left" width="30%">
                        ${qrdRemark!''}
                    </td>
                </tr>
                <tr>
                    <td align="right" width="20%" style=" color: #8B8B8B;line-height:30px;">附件:</td>
                    <td align="left" width="30%">
                        <input type="button" value="查看"
                               onclick="onFileUpload()" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<script type="text/javascript">
    mini.parse();
    var idval = mini.get("idval");
    idval.setValue('${id!''}');

    function onFileUpload() {//taskId为33是户籍迁移附件
        var nouploadflag = "5000";
        //拿到迁移表的id也就是上传文件的最新id
        var idval1 = idval.getValue();
        commonEdit("/upload/user/uploadAppendixfile/see?1=1&id="+ idval1 + "&priNum=${priNum!''}&taskId=33" + "&nouploadflag=" + nouploadflag, null, null, 600, 400, true, true, true);
    }
</script>
</body>
</html>